﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T2CalcLib.Repositories;

namespace T2CalcLib
{
    public class Calculation
    {
        public Invention Invention { get; set; }
        public Production Production {  get; set; }

        public Calculation(Int64 typeID, Int32 me, Int32 runsPerBPC, Decimal inventionChance)
        {
            EvEDataRepository rep = new EvEDataRepository();

            this.Invention = rep.GetInventionByT2TypeID(typeID, inventionChance);
            this.Production = rep.GetProducitonByT2TypeID(typeID, me, runsPerBPC);
        }
    }
}
